package com.mti.app.controller
{
	import com.mti.app.model.InfosQRCodeProxy;
	import com.mti.app.model.business.EvenementObject;
	
	import org.puremvc.as3.interfaces.ICommand;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	public class LoadInfosQRCodeCommand extends SimpleCommand implements ICommand
	{
		private var infosqrcodeProxy:InfosQRCodeProxy;
		
		override public function execute(notification:INotification):void
		{
			infosqrcodeProxy = facade.retrieveProxy(InfosQRCodeProxy.NAME) as InfosQRCodeProxy;
			
			infosqrcodeProxy.load(String (notification.getBody()));
		}
		
	}
}